package com.wan.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class BasicDictionary implements Serializable {
    private Long id;

    private Long dictionaryTypeId;

    private String name;

    private String value;

    private String remark;

    private Long tenantId;

    private Long orgId;

    private Long companyId;

    private Byte status;

    private Long createdBy;

    private String creator;

    private Date createdTime;

    private Long updatedBy;

    private String modifier;

    private Date updatedTime;

    private Long version;

    private static final long serialVersionUID = 1L;

    public BasicDictionary(Long id, Long dictionaryTypeId, String name, String value, String remark, Long tenantId, Long orgId, Long companyId, Byte status, Long createdBy, String creator, Date createdTime, Long updatedBy, String modifier, Date updatedTime, Long version) {
        this.id = id;
        this.dictionaryTypeId = dictionaryTypeId;
        this.name = name;
        this.value = value;
        this.remark = remark;
        this.tenantId = tenantId;
        this.orgId = orgId;
        this.companyId = companyId;
        this.status = status;
        this.createdBy = createdBy;
        this.creator = creator;
        this.createdTime = createdTime;
        this.updatedBy = updatedBy;
        this.modifier = modifier;
        this.updatedTime = updatedTime;
        this.version = version;
    }

    public BasicDictionary() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDictionaryTypeId() {
        return dictionaryTypeId;
    }

    public void setDictionaryTypeId(Long dictionaryTypeId) {
        this.dictionaryTypeId = dictionaryTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value == null ? null : value.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", dictionaryTypeId=").append(dictionaryTypeId);
        sb.append(", name=").append(name);
        sb.append(", value=").append(value);
        sb.append(", remark=").append(remark);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", orgId=").append(orgId);
        sb.append(", companyId=").append(companyId);
        sb.append(", status=").append(status);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", creator=").append(creator);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", modifier=").append(modifier);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}